package com.mymail.entity;

import com.mymail.dao.ReceiverDAO;

public class Receiver {
	//收件人类型
	//普通收件人
	public static final char NORMAL='N';
	//抄送
	public static final char CS='C';
	//密送
	public static final char MS='M';
	
	private Integer id;
	private String name;
	private char sort;
	private Integer mail;
	private static ReceiverDAO dao=new ReceiverDAO();
	public static ReceiverDAO getDAO(){
		return dao;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the sort
	 */
	public char getSort() {
		return sort;
	}
	/**
	 * @param sort the sort to set
	 */
	public void setSort(char sort) {
		this.sort = sort;
	}
	/**
	 * @return the mail
	 */
	public Integer getMail() {
		return mail;
	}
	/**
	 * @param mail the mail to set
	 */
	public void setMail(Integer mail) {
		this.mail = mail;
	}
	
	
	
}
